//
// Question.cc
//
//  Created on: Feb 22, 2012
//      Author: Muhammad Zohaib Hassan
//      Student no: 223994
//      Description: This file has Definitions of the member functions of class Question
//

#include"Question.hh"

// Default Constructor
Question :: Question(void)

{
    Question_Description = " ";
    Option_A = " ";
    Option_B = " ";
    Option_C = " ";
    Option_D = " ";

    Answer='*';
    Difficulty_Level=0;

}


// Getters , Setters
string Question :: Get_Question_Description()
{
    return Question_Description;
}

void Question :: Set_Question_Description(string Question_Des)
{
    Question_Description = Question_Des;
}

// Option A
string Question :: Get_Option_A()
{
    return Option_A;
}

void Question :: Set_Option_A(string A)
{
    Option_A = A;
}

// Option B
string Question :: Get_Option_B()
{
    return Option_B;
}

void Question :: Set_Option_B(string B)
{
    Option_B = B;
}

// Option C
string Question :: Get_Option_C()
{
    return Option_C;
}

void Question :: Set_Option_C(string C)
{
    Option_C = C;
}

// Option D
string Question :: Get_Option_D()
{
    return Option_D;
}

void Question :: Set_Option_D(string D)
{
    Option_D = D;
}

// Answer
char Question :: Get_Answer()
{
    return Answer;
}

void Question :: Set_Answer(char Ans)
{
    Answer = Ans;
}

// Difficulty Level
int Question :: Get_Difficulty_Level()
{
    return Difficulty_Level;
}

void Question :: Set_Difficulty_Level(int Level)
{
    Difficulty_Level = Level;
}




